When the server completes the response ( readyState= 4) and the response is OK, you parse the XML and append it into the Document Object Model ( DOM) of the page to show the employee list. 当服务器完成了响应(readyState=4)并且该响应为OK时,您可以解析XML并将其添加到页面的文档对象模型(DocumentObjectModel,DOM)后面,以显示雇员列表。
Just call an HTTP get on localhost: 3000/ people/ list and parse the result to get a list of people. 只需在localhost:3000/people/list上调用HTTPget,并解析结果,就可以得到人员列表。
You parse each feed to get the title of the feed and then, as before, output a list of the available feeds and expect an input number. 解析每个提要来获得提要标题,然后像以前一样输出可用提要列表,并等待输入数字。
If there is not an exact match for the service input name in the Classic Registry, use the Name Parser component to parse the input service name and construct a list of constituent words. 如果在ClassicRegistry中没有完全匹配服务输入名称的服务描述,使用NameParser组件来解析输入的服务名称,然后构造一个单词组成列表。
Then, we parse the character string into individual words and store in the computer memory as list. 然后,将字符串解析为单个单词并以列表形式存储到内存中。